﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LPY.LeHealth.DAL;
using LPY.LeHealth.DTO;

namespace LPY.LeHealth.Service
{
  
   public  class zhinantype
    {
       Physcal dal = new Physcal();
       /// <summary>
       /// 显示全部类型
       /// </summary>
       /// <returns></returns>
       public List<PhysicalType> showall()
       {
           return dal.showall();
       }
       /// <summary>
       /// 显示前5条
       /// </summary>
       /// <returns></returns>
       public List<PhysicalType> showptype()
       {
           return dal.showPhysical();
       }
       /// <summary>
       /// 显示剩下的类型
       /// </summary>
       /// <returns></returns>
       public List<PhysicalType> getendall()
       {
           return dal.getendall();
       }
       /// <summary>
       /// 添加类型
       /// </summary>
       /// <param name="ph"></param>
       /// <returns></returns>
       public long  add(PhysicalType ph)
       {
           return dal.add(ph);
       }
    }
}
